package com.atguigu.eduservice.client.hystrix;

import com.atguigu.eduservice.client.OrderClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author cyt
 * @create 2020-06-04 6:44
 */
@Slf4j
@Component
public class OrderHystrix implements OrderClient {
    @Override
    public boolean idBuy(String memberId, String courseId) {
        log.info("订单失败回调");
        return false;
    }
}
